onOperatorLogout (event)
Description
Event called an operator logs out.

Parameters
operatorID number
operatorName string
computerName string

Return value
not applicable

Example
-- create event handler for onOperatorLogout
function onOperatorLogout(operatorID, operatorName, computerName)
    app.showNotification("You logged out of Stock Tracker, come back soon " .. operatorName .. "!")
end

Comments
This event might not always fire as operators can become disconnected for a variety of reasons.

See also
onOperatorLogin (event)

Back